import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import GlobalData from '_utils/GlobalData'
import * as Methods from '_utils/Methods'
import * as Request from '_utils/Request'
import { Api, Config } from '_utils/Api'
import Storage from 'store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '_iconfont/iconfont.scss'
import '_style/theme/green.scss'
import './assets/style/teacher.scss'
import '@/assets/style/theme/element-variables.scss'
import Moment from 'moment'
import 'moment/locale/zh-cn'
Moment.locale('zh-cn');

Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.prototype.$globalData = GlobalData;
Vue.prototype.$methods = Methods;
Vue.prototype.$request = Request;
Vue.prototype.$config = Config;
Vue.prototype.$api = Api;
Vue.prototype.$storage = Storage;
Vue.prototype.$moment = Moment;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
